﻿using IntelligentAgriculture.Contracts.Dto.Output;
using MediatR;
using Microsoft.AspNetCore.Mvc;

namespace IntelligentAgriculture.WebAPI.Application.Command.StartCommand
{
    /// <summary>
    /// 期初导入Command
    /// </summary>
    public class StartImportCommand:IRequest<Results<IActionResult>>
    {
        public IFormFile File { get; set; } // 表示上传的excel文件

        public StartImportCommand(IFormFile file)
        {
            File = file;
        }
    }
}
